home *** CD-ROM | disk | FTP | other *** search
/ AOL File Library: 4,401 to 4,500 / aol-file-protocol-4400-4401-to-4500.zip / AOLDLs / PDA-Newton Development / ND Bomber (source) / info.txt < prev   
Text File  |  2014-12-08  |  3KB  |  47 lines

  1. Subject:  ND  Bomber (source)
  2. Author:  Mark Dalrymple, Lone Badger Enterprises
  3. Uploaded By:  PDC Phil
  4. Date:  5/2/1995
  5.  
  6. File:  Bomber.sit (11405 bytes) 
  7. Estimated Download Time (37942 baud):  < 1 minute
  8. Download Count:  304
  9.  
  10. Equipment:  Mac, NTK
  11. Needs:  UnSTUFFing Utility, Mac, NTK
  12.  
  13. Keywords:  NEWTON PDA DEV DEVELOPMENT SOURCE CODE NTK DALRYMPLE LONE BOMB WAR FUN GAME
  14.  
  15. TYPE: Distribute Freely
  16.  
  17. Welcome to Bomber -- a tiny program of questionable taste.  It presents three radio buttons, an editable text field, and a push button.  The buttons are labeled "Moscow", "Washington DC", and "Other" where you can write in anything you want to.  When you push the button, (or TV's Frank pushes the button for you), a floating window pops up saying that the indicated city won't bother you any more.
  18.  
  19. Why on Earth would an ordinarily compassionate and sane person write something like this?
  20.  
  21. Over the last 12 years, the first program I've written for many computer systems and programming environments has been Bomber -- a childhood weirdism gone horribly wrong.  I now have versions of Bomber in Apple II, Commodore 64 and IBM PC BASIC (both GW and Turbo), Mac Toolbox, MacApp, X11, Looking Glass Advantage, Galaxy, and now NewtonScript/NTK.
  22.  
  23. As such, it's probably not Ideal Newton Code, but it does function, and perfroms good error handling (i.e. trying to Nuke something when no cities are selected, or nothing is written in the text field)  and I believe that it's fairly well commented.
  24.  
  25.  
  26. The an interesting part of this was getting the icon into the project.
  27. You need to have a named PICT resource in a resource file, and add that resource file to your project.  This PICT will thenappear in the Project->Settings... menu item.  OBTW, Since ResEdit doesn't have a PICT editor but it does have an ICON editor, I used the ICON editor to make the icon and copied it into the PICT.  I left the ICON in the resource file for reference.  It's not directly used by NTK.
  28.  
  29.  
  30. Files in this distribution:
  31.  
  32. Bomber.t -- Template for the main bomber window
  33. Bomber.Confirm.t -- Template for a transient window 
  34. Bomber.rsrc -- Resource file containing the package's icon.
  35.  
  36. Bomber.x -- The NTK Project file
  37. Bomber.x.pkg -- The downloadable packge
  38. Bomber.ReadMe -- This RELLIE_KOOL file.
  39.  
  40.  
  41. Enjoy, and I look forward to subjecting the world to more Newton-based programs.  (I promise to make the next one more interesting and tasteful than Bomber)
  42.  
  43. This file has been checked with the latest version of McAfee Scan and/or DisInfectant 3.5 and is known to be virus-free at the time of uploading.
  44.  
  45. This file can be found in the PDA Forum's Software Libraries (Keyword PDA).
  46.  
  47.